package com.bcbim.operation_maintenance_interface.space.dto;

import com.bcbim.operation_maintenance_interface.department.dto.DepartmentDTO;
import lombok.Data;
import com.bcbim.operation_maintenance_interface.space_type.dto.SpaceTypeDTO;

import java.io.Serializable;
import java.util.List;

/**
 * @version V 1.0.0
 * @Description：空间信息查询条件
 * @Author: haomeijie
 * @Date: 2022/3/8 13:50
 **/
@Data
public class SpaceDTO implements Serializable {
    /**
     * 项目id
     */
    private String projectId;
    /**
     * 楼层id
     */
    private List<String> floorIds;

    /**
     * 空间类型id
     */
    private List<SpaceTypeDTO> spaceTypeIds;
    private String spaceTypeJson;
    private List<String> categoryIds;
    private List<String> typeIds;
    /**
     * 部门id
     */
    private List<DepartmentDTO> departmentIds;
    private String departmentJson;
    private List<String> businessId;
    private List<String> departmentId;
    /**
     * 空间编号
     */
    private String spaceNumber;
    /**
     * 空间名称
     */
    private String spaceName;
    /**
     * 是否空置
     */
    private Boolean isBlank;
    /**
     * 可用的(a空间可占用; b空间额定人数>0; c空间实际人数不为0且小于额定人数)
     */
    private Boolean isAvailable;
    /**
     * 符合额定人数(a空间可占用; b空间额定人数>0; c空间实际人数等于额定人数)
     */
    private Boolean fitFixPeopleNum;
    /**
     * 超出额定人数(a空间可占用; b间额定人数>0; c空间实际人数大于额定人数)
     */
    private Boolean overFixPeopleNum;
}
